package com.haixiaoke.saas.department.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 企业电子合同数量操作记录对象 biz_electronic_visa_record
 *
 * @author panda
 * @date 2024-05-29
 */
@Data
public class ElectronicVisaRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 企业电子签ID
     */
    @Excel(name = "企业电子签ID")
    private Long visaId;

    /**
     * 记录类型(0增加,1扣减)
     */
    @Excel(name = "记录类型(0增加,1扣减)")
    private String visaRecordType;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private int visaNum;

    /**
     * 操作备注
     */
    @Excel(name = "操作备注")
    private String recordRemark;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
